[INFO] cloning repository https://github.com/JonnyWalker81/rusty-post
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JonnyWalker81/rusty-post" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonnyWalker81%2Frusty-post", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonnyWalker81%2Frusty-post'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d85b6de46bbbed12d8547bcbf336da4d96f72886
[INFO] building JonnyWalker81/rusty-post against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonnyWalker81%2Frusty-post" "/workspace/builds/worker-11/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/JonnyWalker81/rusty-post on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/JonnyWalker81/rusty-post
[INFO] finished tweaking git repo https://github.com/JonnyWalker81/rusty-post
[INFO] tweaked toml for git repo https://github.com/JonnyWalker81/rusty-post written to /workspace/builds/worker-11/source/Cargo.toml
[INFO] crate git repo https://github.com/JonnyWalker81/rusty-post already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 05d7c2cec6cf483320fc4b2a3550ce424dae309964bc75dbdfa76b8d2ffb762e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "05d7c2cec6cf483320fc4b2a3550ce424dae309964bc75dbdfa76b8d2ffb762e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "05d7c2cec6cf483320fc4b2a3550ce424dae309964bc75dbdfa76b8d2ffb762e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "05d7c2cec6cf483320fc4b2a3550ce424dae309964bc75dbdfa76b8d2ffb762e", kill_on_drop: false }`
[INFO] [stdout] 05d7c2cec6cf483320fc4b2a3550ce424dae309964bc75dbdfa76b8d2ffb762e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 48764e440048d950b3161d18d2b5005e10986bb32ef5cf48a23f8918f8ac8e2f
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "48764e440048d950b3161d18d2b5005e10986bb32ef5cf48a23f8918f8ac8e2f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.95
[INFO] [stderr]    Compiling gcc v0.3.45
[INFO] [stderr]    Compiling pkg-config v0.3.9
[INFO] [stderr]    Compiling log v0.3.7
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling cfg-if v0.1.0
[INFO] [stderr]    Compiling httparse v1.4.1
[INFO] [stderr]    Compiling lazycell v0.4.0
[INFO] [stderr]    Compiling futures v0.1.11
[INFO] [stderr]    Compiling slab v0.3.0
[INFO] [stderr]    Compiling openssl-probe v0.1.0
[INFO] [stderr]    Compiling unicode-segmentation v1.1.0
[INFO] [stderr]    Compiling bitflags v0.8.0
[INFO] [stderr]    Compiling ansi_term v0.9.0
[INFO] [stderr]    Compiling unicode-width v0.1.4
[INFO] [stderr]    Compiling vec_map v0.7.0
[INFO] [stderr]    Compiling tinyvec v1.2.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.5
[INFO] [stderr]    Compiling mime v0.2.6
[INFO] [stderr]    Compiling base64 v0.9.3
[INFO] [stderr]    Compiling openssl-sys v0.9.9
[INFO] [stderr]    Compiling libz-sys v1.0.13
[INFO] [stderr]    Compiling curl-sys v0.3.10
[INFO] [stderr]    Compiling iovec v0.1.0
[INFO] [stderr]    Compiling net2 v0.2.27
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling atty v0.2.2
[INFO] [stderr]    Compiling term_size v0.2.3
[INFO] [stderr]    Compiling unicode-normalization v0.1.18
[INFO] [stderr]    Compiling clap v2.21.2
[INFO] [stderr]    Compiling bytes v0.4.1
[INFO] [stderr]    Compiling mio v0.6.5
[INFO] [stderr]    Compiling tokio-io v0.1.0
[INFO] [stderr]    Compiling tokio-core v0.1.6
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling hyper v0.10.16
[INFO] [stderr]    Compiling curl v0.4.6
[INFO] [stderr]    Compiling tokio-curl v0.1.9
[INFO] [stderr]    Compiling rusty-post-lib v0.1.0 (/opt/rustwide/workdir/rusty-post-lib)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io`
[INFO] [stdout]    --> rusty-post-lib/src/request/request.rs:146:17
[INFO] [stdout]     |
[INFO] [stdout] 146 |                 io::stdout().write_all(&chunk).map_err(From::from)
[INFO] [stdout]     |                 ^^ use of undeclared crate or module `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Uri` in crate `hyper`
[INFO] [stdout]    --> rusty-post-lib/src/request/request.rs:136:43
[INFO] [stdout]     |
[INFO] [stdout] 136 |         let url = self.url.parse::<hyper::Uri>().unwraap();
[INFO] [stdout]     |                                           ^^^
[INFO] [stdout]     | 
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/url-1.7.2/src/lib.rs:154:1
[INFO] [stdout]     |
[INFO] [stdout] 154 | pub struct Url {
[INFO] [stdout]     | -------------- similarly named struct `Url` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: there is an enum variant `hyper::Error::Uri`; try using the variant's enum
[INFO] [stdout]     |
[INFO] [stdout] 136 |         let url = self.url.parse::<hyper::Error>().unwraap();
[INFO] [stdout]     |                                    ^^^^^^^^^^^^
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 136 |         let url = self.url.parse::<hyper::Url>().unwraap();
[INFO] [stdout]     |                                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EmptyWriter`
[INFO] [stdout]   --> rusty-post-lib/src/request/request.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 | use request::utilities::{EmptyWriter};
[INFO] [stdout]    |                          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> rusty-post-lib/src/request/request.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::sync::Arc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> rusty-post-lib/src/request/utilities.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{Write, Error, Result};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]    --> rusty-post-lib/src/request/request.rs:139:22
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let client = Client::new(&handle);
[INFO] [stdout]     |                      ^^^^^^^^^^^ ------- supplied 1 argument
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      expected 0 arguments
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.10.16/src/client/mod.rs:114:12
[INFO] [stdout]     |
[INFO] [stdout] 114 |     pub fn new() -> Client {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `and_then` exists for struct `RequestBuilder<'_>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> rusty-post-lib/src/request/request.rs:141:36
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let work = client.get(url).and_then(|res| {
[INFO] [stdout]     |                                    ^^^^^^^^ method cannot be called on `RequestBuilder<'_>` due to unsatisfied trait bounds
[INFO] [stdout]     | 
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.10.16/src/client/mod.rs:239:1
[INFO] [stdout]     |
[INFO] [stdout] 239 | pub struct RequestBuilder<'a> {
[INFO] [stdout]     | -----------------------------
[INFO] [stdout]     | |
[INFO] [stdout]     | doesn't satisfy `RequestBuilder<'_>: futures::Future`
[INFO] [stdout]     | doesn't satisfy `RequestBuilder<'_>: futures::Stream`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `RequestBuilder<'_>: futures::Future`
[INFO] [stdout]             which is required by `&mut RequestBuilder<'_>: futures::Future`
[INFO] [stdout]             `RequestBuilder<'_>: futures::Stream`
[INFO] [stdout]             which is required by `&mut RequestBuilder<'_>: futures::Stream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::Future`
[INFO] [stdout]   --> rusty-post-lib/src/request/request.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use futures::Future;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::stream::Stream`
[INFO] [stdout]   --> rusty-post-lib/src/request/request.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use futures::stream::Stream;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0412, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rusty-post-lib`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "48764e440048d950b3161d18d2b5005e10986bb32ef5cf48a23f8918f8ac8e2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "48764e440048d950b3161d18d2b5005e10986bb32ef5cf48a23f8918f8ac8e2f", kill_on_drop: false }`
[INFO] [stdout] 48764e440048d950b3161d18d2b5005e10986bb32ef5cf48a23f8918f8ac8e2f
